from apscheduler.schedulers.asyncio import AsyncIOScheduler
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from app.core.conf import ST
from loguru import logger




schedulerIns = AsyncIOScheduler()


schedulerIns.configure( jobstores = {
    # 'default': SQLAlchemyJobStore(url=rf'sqlite:///{ST.JOBS_SQLITE_PATH}')  # SQLAlchemyJobStore指定存储链接
    # 'default': SQLAlchemyJobStore(url='sqlite:///jobs.db')  # SQLAlchemyJobStore指定存储链接
})
schedulerIns.start()





